package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Video;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface VideoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Video record);

    Video selectByPrimaryKey(Long id);

    List<Video> selectAll();

    int updateByPrimaryKey(Video record);

    List<Video> queryForList(QueryObject qo);

    void addNum(Long id);
}